package org.study.plus.boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.study.plus.boot.model.SortData;

/**
 * 参考 https://llg-notes.blog.csdn.net/article/details/136687088
 *
 * @author doveylovey
 * @version v1.0.0
 * @email 1135782208@qq.com
 * @date 2024年04月19日
 */
public interface SortDataMapper extends BaseMapper<SortData> {
    int moveBack(Integer beforeSort, Integer moveSort);

    int moveBefore(Integer beforeSort, Integer moveSort);

    int moveTop(Integer moveSort);
}
